#pragma once

#include<iostream>
#include<stdio.h>
#include<stdlib.h>

typedef struct DynamicArray
{
	int* data;
	int size;
	int capacity;
}dynamic_array,*pdynamic_array;

void InitArray(dynamic_array* arr,int capacity);

void InsertArray(dynamic_array* arr,int value);

void DeleteIndex(dynamic_array* arr, int index);

void DeleteValue(dynamic_array* arr, int value);

void Traverse(dynamic_array* arr);

void ClearArray(dynamic_array* arr);

